package a01;

class RemoveAnimation1 extends AnimationPanel {

    private static final long serialVersionUID = 1L;

    @Override
    public void reactWhenTouching(GameObject g1, GameObject g2) {
	if (g1.isLargerThan(g2))
	    gos.remove(g2);
	else
	    gos.remove(g1);
    }
}
